package gui;

public class EditingCell<S extends Object> extends AbstractEditableTableCell<S, String> {
    public EditingCell() {}
    
    @Override
    protected String getString() {
        return getItem() == null ? "" : getItem().toString();
    }
    @Override
    protected void commitHelper( boolean losingFocus ) {
        commitEdit(textField.getText());
    }
}
